package a23_Polymorphic;

/**
 * @Author quan
 * @Description 老师类：继承于父类
 * @Date 2023/2/12 0:09
 */
public class Teacher extends Person{
    @Override
    public void show(){
        System.out.println("老师的信息为"+getName()+","+getAge());
    }
}
